package com.gs.disk.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * wallper_oss_file;
 * @author : http://www.chiner.pro
 * @date : 2022-9-28
 */
@ApiModel(value = "wallper_oss_file",description = "")
@TableName("wallper_oss_file")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OssEntity implements Serializable,Cloneable {
    /** 主键 */
    @ApiModelProperty(name = "id",value = "主键")
    @TableId
    private Long id;
    /** bucket */
    @ApiModelProperty(name = "bucket",value = "bucket")
    private String bucket;
    /** 路径 */
    @ApiModelProperty(name = "path",value = "路径")
    private String path;
    /** 上传到对象存储服务器的文件名 */
    @ApiModelProperty(name = "ossFileName",value = "上传到对象存储服务器的文件名")
    private String ossFileName;
    /** 旧文件名 */
    @ApiModelProperty(name = "oldName",value = "旧文件名")
    private String oldName;
    /** 是否是目录 */
    @ApiModelProperty(name = "directory",value = "是否是目录")
    private Integer directory;
    /** 文件是否启用 */
    @ApiModelProperty(name = "dataStatus",value = "文件是否启用")
    private Integer dataStatus;
    /** 数据更新时间 */
    @ApiModelProperty(name = "updateTime",value = "数据更新时间")
    private LocalDateTime updateTime;

}